﻿
	wait(1)


  EaseType = {
        Unset = 0,
        Linear = 1,
        InSine = 2,
        utSine = 3,
        InOutSine = 4,
        InQuad = 5,
        OutQuad = 6,
        InOutQuad = 7,
        InCubic = 8,
        OutCubic = 9,
        InOutCubic = 10,
        InQuart = 11,
        OutQuart = 12,
        InOutQuart = 13,
        InQuint = 14,
        OutQuint = 15,
        InOutQuint = 16,
        InExpo = 17,
        OutExpo = 18,
        InOutExpo = 19,
        InCirc = 20,
        OutCirc = 21,
        InOutCirc = 22,
        InElastic = 23,
        OutElastic = 24,
        InOutElastic = 25,
        InBack = 26,
        OutBack = 27,
        InOutBack = 28,
        InBounce = 29,
        OutBounce = 30,
        InOutBounce = 31,
        Flash = 32,
        InFlash = 33,
        OutFlash = 34,
        InOutFlash = 35
    }
EaseLoopType =
    {
	    Restart = 0,
	    Yoyo = 1,
	    Incremental = 2
	}

	print('s1')
 local __tweenInfo = TweenParmInfo.New();
	print('s2')
        __tweenInfo.Duration = 5;
	print('s2')
        __tweenInfo.Ease = EaseType.Linear; --EaseType
	print('s2')
        __tweenInfo.Loop = 0;
	print('s2')
        __tweenInfo.LoopType = EaseLoopType.Restart; --EaseLoopType
	print('s2')
        __tweenInfo.Reverses = false;
	print('s2')
        __tweenInfo.DelayTime = 0;
	print('s2')

	print('s3')
        local action ={};
        --action.Position = Vector3(3,4,5) --
        --action.Scale = Vector3(2,2,2);
        --action.Rotation = Vector3(45,45,45)
        action.Color = Vector3(0.5,0.8,0.7)
        action.Transparency = 0.5

	print('s4')
        __Tweener = TweenService:CreateTweener(script.Parent,__tweenInfo,action);

	print('s5')
        __Tweener:TweenOncomplate(function ()
                log("=============================结束了")
         end)

	print('s6')
       __Tweener:TweenPlay(); --开始
        --__Tweener:TweenPause();
        --__Tweener:Restart();

	print('s7')
